/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lianxishilili.demo;

import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;

/**
 *
 * @author Administrator
 */
public class ReaderDemo1 {
    public static void main(String[] args) throws Exception
    {
        InputStreamReader in2=new InputStreamReader(System.in);
        BufferedReader in3=new BufferedReader(in2);
       
        
        System.out.println("请输入你的姓名");
        String name=in3.readLine();
        System.out.println("您输入的姓名是"+name);
    }

}
